﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TienTeTuong.back_end
{
    public partial class CategoryManagement : System.Web.UI.Page
    {
        public List<CategoryDTO> cates = new List<CategoryDTO>();
        public CategoryBUS ctBus = new CategoryBUS();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Admin"] == null)
            {
                Response.Redirect("Default.aspx");
            }
            cates = ctBus.GetListCategory();
        }

    }
}